<%@ include file="/common/taglibs.jsp"%>


<div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container-fluid"><!--
                <a class="brand" href="<c:url value='/'/>"><fmt:message key="webapp.name"/></a>
                --><menu:useMenuDisplayer name="Velocity" config="navbarMenu.vm" permissions="rolesAdapter">
                <ul class="nav">
                    <c:if test="${empty pageContext.request.remoteUser}">
                        <li class="active">
                            <a href="<c:url value="/login.jsp"/>"><fmt:message key="login.title"/></a>
                        </li>
                    </c:if>
                    <menu:displayMenu name="MainMenu"/>
                    <menu:displayMenu name="BirthRegisterMenu"/>
                    <menu:displayMenu name="DeathRegisterMenu"/>
                    <menu:displayMenu name="BirthSearchMenu"/>
                    
                    <menu:displayMenu name="AdminMenu"/>
                    <menu:displayMenu name="ZoneAdminMenu"/>
                    <menu:displayMenu name="MyAccount"/>
                    <menu:displayMenu name="Logout"/>
                </ul>
                </menu:useMenuDisplayer>
				
                <c:if test="${pageContext.request.locale.language ne 'en'}">
                    <div id="switchLocale"><a href="<c:url value='/?locale=en'/>">
                        <fmt:message key="webapp.name"/> in English</a>
                    </div>
                </c:if>
				 <c:if test="${!empty pageContext.request.remoteUser}">
					<div style="color :#F0FFFF; text-align:center ;font-size:16px; margin-top: 10px; float:right"><b>Welcome:  ${pageContext.request.remoteUser} </b></div>
				 </c:if>
            </div>
			
        </div>
		
    </div>
    
